<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>src.datastructure.link</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="src-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >ttrq4fleet - Petrina Papazek</th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="src-module.html">Package&nbsp;src</a> ::
        <a href="src.datastructure-module.html">Package&nbsp;datastructure</a> ::
        Module&nbsp;link
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="src.datastructure.link-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="src.datastructure.link-module.html">Module src.datastructure.link</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-docstring">'''</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-docstring">Created on Aug 13, 2012</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-docstring">@author: petrina</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-docstring">'''</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Module src.datastructure.record_list=src.datastructure.record_list-module.html"><a title="src.datastructure.record_list" class="py-name" href="#" onclick="return doclink('link-0', 'record_list', 'link-0');">record_list</a></tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Class src.datastructure.record_list.Record_list=src.datastructure.record_list.Record_list-class.html"><a title="src.datastructure.record_list.Record_list" class="py-name" href="#" onclick="return doclink('link-1', 'Record_list', 'link-1');">Record_list</a></tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"> </tt>
<a name="Link"></a><div id="Link-def"><a name="L9"></a><tt class="py-lineno">  9</tt> <a class="py-toggle" href="#" id="Link-toggle" onclick="return toggle('Link');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html">Link</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Link-expanded"><a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line">    <tt class="py-docstring">'''</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-docstring">    This class includes static Link-data such as length, name and frc.</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-docstring">    Links are part of the street graph. FLEET-data is based on Links.</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-docstring">    '''</tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"> </tt>
<a name="Link.__init__"></a><div id="Link.__init__-def"><a name="L17"></a><tt class="py-lineno"> 17</tt> <a class="py-toggle" href="#" id="Link.__init__-toggle" onclick="return toggle('Link.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">id</tt> <tt class="py-op">=</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-param">direction</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-param">length</tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt><tt class="py-op">,</tt> <tt class="py-param">frc</tt> <tt class="py-op">=</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">,</tt>  </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line">                 <tt class="py-param">freespeed</tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-param">is_kph</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-param">intervals</tt> <tt class="py-op">=</tt> <tt class="py-number">96</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.__init__-expanded"><a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"><tt class="py-docstring">        @param id: linkid (default: -1)</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"><tt class="py-docstring">        @param direction: direction of the link (default: True, i.e. FT/From-To)</tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"><tt class="py-docstring">        @param length: link length in meters (default: 0)</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"><tt class="py-docstring">        @param name: link's name </tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"><tt class="py-docstring">        @param frc: functional road class (default: -1)</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"><tt class="py-docstring">        @param freespeed: free flow speed (default: 0) </tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Variable src.datastructure.link.Link.id=src.datastructure.link.Link-class.html#id"><a title="src.datastructure.link.Link.id" class="py-name" href="#" onclick="return doclink('link-2', 'id', 'link-2');">id</a></tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name"><a title="src.datastructure.link.Link.id" class="py-name" href="#" onclick="return doclink('link-3', 'id', 'link-2');">id</a></tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name" targets="Variable src.datastructure.link.Link.direction=src.datastructure.link.Link-class.html#direction"><a title="src.datastructure.link.Link.direction" class="py-name" href="#" onclick="return doclink('link-4', 'direction', 'link-4');">direction</a></tt> <tt class="py-op">=</tt> <tt id="link-5" class="py-name"><a title="src.datastructure.link.Link.direction" class="py-name" href="#" onclick="return doclink('link-5', 'direction', 'link-4');">direction</a></tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Variable src.datastructure.link.Link.length=src.datastructure.link.Link-class.html#length,Variable src.datastructure.linkset.Linkset.length=src.datastructure.linkset.Linkset-class.html#length"><a title="src.datastructure.link.Link.length
src.datastructure.linkset.Linkset.length" class="py-name" href="#" onclick="return doclink('link-6', 'length', 'link-6');">length</a></tt> <tt class="py-op">=</tt> <tt id="link-7" class="py-name"><a title="src.datastructure.link.Link.length
src.datastructure.linkset.Linkset.length" class="py-name" href="#" onclick="return doclink('link-7', 'length', 'link-6');">length</a></tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Variable src.datastructure.link.Link.name=src.datastructure.link.Link-class.html#name,Variable src.datastructure.record_list.Record_list.name=src.datastructure.record_list.Record_list-class.html#name,Variable src.processing.indicator.Indicator.name=src.processing.indicator.Indicator-class.html#name"><a title="src.datastructure.link.Link.name
src.datastructure.record_list.Record_list.name
src.processing.indicator.Indicator.name" class="py-name" href="#" onclick="return doclink('link-8', 'name', 'link-8');">name</a></tt> <tt class="py-op">=</tt> <tt id="link-9" class="py-name"><a title="src.datastructure.link.Link.name
src.datastructure.record_list.Record_list.name
src.processing.indicator.Indicator.name" class="py-name" href="#" onclick="return doclink('link-9', 'name', 'link-8');">name</a></tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Variable src.datastructure.link.Link.frc=src.datastructure.link.Link-class.html#frc"><a title="src.datastructure.link.Link.frc" class="py-name" href="#" onclick="return doclink('link-10', 'frc', 'link-10');">frc</a></tt> <tt class="py-op">=</tt> <tt id="link-11" class="py-name"><a title="src.datastructure.link.Link.frc" class="py-name" href="#" onclick="return doclink('link-11', 'frc', 'link-10');">frc</a></tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Variable src.datastructure.link.Link.freespeed=src.datastructure.link.Link-class.html#freespeed"><a title="src.datastructure.link.Link.freespeed" class="py-name" href="#" onclick="return doclink('link-12', 'freespeed', 'link-12');">freespeed</a></tt> <tt class="py-op">=</tt> <tt id="link-13" class="py-name"><a title="src.datastructure.link.Link.freespeed" class="py-name" href="#" onclick="return doclink('link-13', 'freespeed', 'link-12');">freespeed</a></tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Variable src.datastructure.agg_record.Agg_record.is_kph=src.datastructure.agg_record.Agg_record-class.html#is_kph,Variable src.datastructure.link.Link.is_kph=src.datastructure.link.Link-class.html#is_kph,Method src.datastructure.record_list.Record_list.is_kph()=src.datastructure.record_list.Record_list-class.html#is_kph"><a title="src.datastructure.agg_record.Agg_record.is_kph
src.datastructure.link.Link.is_kph
src.datastructure.record_list.Record_list.is_kph" class="py-name" href="#" onclick="return doclink('link-14', 'is_kph', 'link-14');">is_kph</a></tt> <tt class="py-op">=</tt> <tt id="link-15" class="py-name"><a title="src.datastructure.agg_record.Agg_record.is_kph
src.datastructure.link.Link.is_kph
src.datastructure.record_list.Record_list.is_kph" class="py-name" href="#" onclick="return doclink('link-15', 'is_kph', 'link-14');">is_kph</a></tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">         </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line">        <tt class="py-comment"># data of the link</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Variable src.datastructure.link.Link.records=src.datastructure.link.Link-class.html#records"><a title="src.datastructure.link.Link.records" class="py-name" href="#" onclick="return doclink('link-16', 'records', 'link-16');">records</a></tt> <tt class="py-op">=</tt> <tt id="link-17" class="py-name"><a title="src.datastructure.record_list.Record_list" class="py-name" href="#" onclick="return doclink('link-17', 'Record_list', 'link-1');">Record_list</a></tt><tt class="py-op">(</tt><tt id="link-18" class="py-name"><a title="src.datastructure.link.Link.name
src.datastructure.record_list.Record_list.name
src.processing.indicator.Indicator.name" class="py-name" href="#" onclick="return doclink('link-18', 'name', 'link-8');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'agg_fleet_records'</tt><tt class="py-op">,</tt> <tt id="link-19" class="py-name" targets="Variable src.datastructure.linkset.Linkset.intervals=src.datastructure.linkset.Linkset-class.html#intervals,Variable src.datastructure.record_list.Record_list.intervals=src.datastructure.record_list.Record_list-class.html#intervals"><a title="src.datastructure.linkset.Linkset.intervals
src.datastructure.record_list.Record_list.intervals" class="py-name" href="#" onclick="return doclink('link-19', 'intervals', 'link-19');">intervals</a></tt> <tt class="py-op">=</tt> <tt id="link-20" class="py-name"><a title="src.datastructure.linkset.Linkset.intervals
src.datastructure.record_list.Record_list.intervals" class="py-name" href="#" onclick="return doclink('link-20', 'intervals', 'link-19');">intervals</a></tt><tt class="py-op">)</tt> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name" targets="Variable src.datastructure.link.Link.reference=src.datastructure.link.Link-class.html#reference"><a title="src.datastructure.link.Link.reference" class="py-name" href="#" onclick="return doclink('link-21', 'reference', 'link-21');">reference</a></tt> <tt class="py-op">=</tt> <tt id="link-22" class="py-name"><a title="src.datastructure.record_list.Record_list" class="py-name" href="#" onclick="return doclink('link-22', 'Record_list', 'link-1');">Record_list</a></tt><tt class="py-op">(</tt><tt id="link-23" class="py-name"><a title="src.datastructure.link.Link.name
src.datastructure.record_list.Record_list.name
src.processing.indicator.Indicator.name" class="py-name" href="#" onclick="return doclink('link-23', 'name', 'link-8');">name</a></tt> <tt class="py-op">=</tt><tt class="py-string">'reference_data'</tt><tt class="py-op">,</tt> <tt id="link-24" class="py-name"><a title="src.datastructure.linkset.Linkset.intervals
src.datastructure.record_list.Record_list.intervals" class="py-name" href="#" onclick="return doclink('link-24', 'intervals', 'link-19');">intervals</a></tt> <tt class="py-op">=</tt> <tt id="link-25" class="py-name"><a title="src.datastructure.linkset.Linkset.intervals
src.datastructure.record_list.Record_list.intervals" class="py-name" href="#" onclick="return doclink('link-25', 'intervals', 'link-19');">intervals</a></tt><tt class="py-op">)</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name" targets="Variable src.datastructure.link.Link.timeseries=src.datastructure.link.Link-class.html#timeseries"><a title="src.datastructure.link.Link.timeseries" class="py-name" href="#" onclick="return doclink('link-26', 'timeseries', 'link-26');">timeseries</a></tt> <tt class="py-op">=</tt> <tt id="link-27" class="py-name"><a title="src.datastructure.record_list.Record_list" class="py-name" href="#" onclick="return doclink('link-27', 'Record_list', 'link-1');">Record_list</a></tt><tt class="py-op">(</tt><tt id="link-28" class="py-name"><a title="src.datastructure.link.Link.name
src.datastructure.record_list.Record_list.name
src.processing.indicator.Indicator.name" class="py-name" href="#" onclick="return doclink('link-28', 'name', 'link-8');">name</a></tt><tt class="py-op">=</tt><tt class="py-string">'fleet_timeseries'</tt><tt class="py-op">,</tt> <tt id="link-29" class="py-name"><a title="src.datastructure.linkset.Linkset.intervals
src.datastructure.record_list.Record_list.intervals" class="py-name" href="#" onclick="return doclink('link-29', 'intervals', 'link-19');">intervals</a></tt> <tt class="py-op">=</tt> <tt id="link-30" class="py-name"><a title="src.datastructure.linkset.Linkset.intervals
src.datastructure.record_list.Record_list.intervals" class="py-name" href="#" onclick="return doclink('link-30', 'intervals', 'link-19');">intervals</a></tt><tt class="py-op">)</tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">         </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">        <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Link: created new Link "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name" targets="Method src.datastructure.agg_record.Agg_record.__str__()=src.datastructure.agg_record.Agg_record-class.html#__str__,Method src.datastructure.link.Link.__str__()=src.datastructure.link.Link-class.html#__str__,Method src.error.data_exceptions.Data_exception.__str__()=src.error.data_exceptions.Data_exception-class.html#__str__,Method src.error.exceptions.Config_exception.__str__()=src.error.exceptions.Config_exception-class.html#__str__,Method src.error.exceptions.Import_exception.__str__()=src.error.exceptions.Import_exception-class.html#__str__,Method src.error.exceptions.Indicator_exception.__str__()=src.error.exceptions.Indicator_exception-class.html#__str__,Method src.error.output_exceptions.Output_exception.__str__()=src.error.output_exceptions.Output_exception-class.html#__str__"><a title="src.datastructure.agg_record.Agg_record.__str__
src.datastructure.link.Link.__str__
src.error.data_exceptions.Data_exception.__str__
src.error.exceptions.Config_exception.__str__
src.error.exceptions.Import_exception.__str__
src.error.exceptions.Indicator_exception.__str__
src.error.output_exceptions.Output_exception.__str__" class="py-name" href="#" onclick="return doclink('link-31', '__str__', 'link-31');">__str__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">         </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">         </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">    <tt class="py-comment">#-----------------------getter- and setter-methods-------------------------</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line"> </tt>
<a name="Link.get_is_kph"></a><div id="Link.get_is_kph-def"><a name="L47"></a><tt class="py-lineno"> 47</tt> <a class="py-toggle" href="#" id="Link.get_is_kph-toggle" onclick="return toggle('Link.get_is_kph');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#get_is_kph">get_is_kph</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.get_is_kph-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.get_is_kph-expanded"><a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__is_kph</tt> </tt>
</div><a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line"> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line"> </tt>
<a name="Link.set_is_kph"></a><div id="Link.set_is_kph-def"><a name="L51"></a><tt class="py-lineno"> 51</tt> <a class="py-toggle" href="#" id="Link.set_is_kph-toggle" onclick="return toggle('Link.set_is_kph');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#set_is_kph">set_is_kph</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.set_is_kph-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.set_is_kph-expanded"><a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__is_kph</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line"> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line"> </tt>
<a name="Link.del_is_kph"></a><div id="Link.del_is_kph-def"><a name="L55"></a><tt class="py-lineno"> 55</tt> <a class="py-toggle" href="#" id="Link.del_is_kph-toggle" onclick="return toggle('Link.del_is_kph');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#del_is_kph">del_is_kph</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.del_is_kph-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.del_is_kph-expanded"><a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__is_kph</tt>     </tt>
</div><a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">     </tt>
<a name="Link.get_timeseries"></a><div id="Link.get_timeseries-def"><a name="L58"></a><tt class="py-lineno"> 58</tt> <a class="py-toggle" href="#" id="Link.get_timeseries-toggle" onclick="return toggle('Link.get_timeseries');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#get_timeseries">get_timeseries</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.get_timeseries-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.get_timeseries-expanded"><a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__timeseries</tt> </tt>
</div><a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line"> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line"> </tt>
<a name="Link.set_timeseries"></a><div id="Link.set_timeseries-def"><a name="L62"></a><tt class="py-lineno"> 62</tt> <a class="py-toggle" href="#" id="Link.set_timeseries-toggle" onclick="return toggle('Link.set_timeseries');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#set_timeseries">set_timeseries</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.set_timeseries-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.set_timeseries-expanded"><a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__timeseries</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line"> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line"> </tt>
<a name="Link.del_timeseries"></a><div id="Link.del_timeseries-def"><a name="L66"></a><tt class="py-lineno"> 66</tt> <a class="py-toggle" href="#" id="Link.del_timeseries-toggle" onclick="return toggle('Link.del_timeseries');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#del_timeseries">del_timeseries</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.del_timeseries-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.del_timeseries-expanded"><a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__timeseries</tt> </tt>
</div><a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line"> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line">     </tt>
<a name="Link.get_reference"></a><div id="Link.get_reference-def"><a name="L70"></a><tt class="py-lineno"> 70</tt> <a class="py-toggle" href="#" id="Link.get_reference-toggle" onclick="return toggle('Link.get_reference');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#get_reference">get_reference</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.get_reference-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.get_reference-expanded"><a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__reference</tt> </tt>
</div><a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line"> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line"> </tt>
<a name="Link.set_reference"></a><div id="Link.set_reference-def"><a name="L74"></a><tt class="py-lineno"> 74</tt> <a class="py-toggle" href="#" id="Link.set_reference-toggle" onclick="return toggle('Link.set_reference');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#set_reference">set_reference</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.set_reference-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.set_reference-expanded"><a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__reference</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line"> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line"> </tt>
<a name="Link.del_reference"></a><div id="Link.del_reference-def"><a name="L78"></a><tt class="py-lineno"> 78</tt> <a class="py-toggle" href="#" id="Link.del_reference-toggle" onclick="return toggle('Link.del_reference');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#del_reference">del_reference</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.del_reference-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.del_reference-expanded"><a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__reference</tt> </tt>
</div><a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line"> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">     </tt>
<a name="Link.get_records"></a><div id="Link.get_records-def"><a name="L82"></a><tt class="py-lineno"> 82</tt> <a class="py-toggle" href="#" id="Link.get_records-toggle" onclick="return toggle('Link.get_records');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#get_records">get_records</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.get_records-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.get_records-expanded"><a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__records</tt> </tt>
</div><a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line"> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line"> </tt>
<a name="Link.set_records"></a><div id="Link.set_records-def"><a name="L86"></a><tt class="py-lineno"> 86</tt> <a class="py-toggle" href="#" id="Link.set_records-toggle" onclick="return toggle('Link.set_records');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#set_records">set_records</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.set_records-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.set_records-expanded"><a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__records</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line"> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line"> </tt>
<a name="Link.del_records"></a><div id="Link.del_records-def"><a name="L90"></a><tt class="py-lineno"> 90</tt> <a class="py-toggle" href="#" id="Link.del_records-toggle" onclick="return toggle('Link.del_records');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#del_records">del_records</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.del_records-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.del_records-expanded"><a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__records</tt> </tt>
</div><a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line"> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line"> </tt>
<a name="Link.get_freett"></a><div id="Link.get_freett-def"><a name="L94"></a><tt class="py-lineno"> 94</tt> <a class="py-toggle" href="#" id="Link.get_freett-toggle" onclick="return toggle('Link.get_freett');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#get_freett">get_freett</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt>       </tt>
</div><a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__freespeed</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__freespeed</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">            <tt class="py-comment"># * 1000 ==&gt; meters, *60*60 ==&gt; seconds </tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-number">3.6</tt> <tt class="py-op">*</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__length</tt> <tt class="py-op">/</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__freespeed</tt> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__is_kph</tt> <tt class="py-keyword">else</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__length</tt> <tt class="py-op">/</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__freespeed</tt>           </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">            <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name" targets="Package src.error=src.error-module.html"><a title="src.error" class="py-name" href="#" onclick="return doclink('link-32', 'error', 'link-32');">error</a></tt><tt class="py-op">(</tt><tt class="py-string">"Link: cannot calculate freeflow travel time because the freespeed is invalid "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__freespeed</tt><tt class="py-op">)</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line"> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line"> </tt>
<a name="Link.get_freespeed"></a><div id="Link.get_freespeed-def"><a name="L103"></a><tt class="py-lineno">103</tt> <a class="py-toggle" href="#" id="Link.get_freespeed-toggle" onclick="return toggle('Link.get_freespeed');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#get_freespeed">get_freespeed</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.get_freespeed-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.get_freespeed-expanded"><a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__freespeed</tt> </tt>
</div><a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line"> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line"> </tt>
<a name="Link.set_freespeed"></a><div id="Link.set_freespeed-def"><a name="L107"></a><tt class="py-lineno">107</tt> <a class="py-toggle" href="#" id="Link.set_freespeed-toggle" onclick="return toggle('Link.set_freespeed');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#set_freespeed">set_freespeed</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.set_freespeed-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.set_freespeed-expanded"><a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__freespeed</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line"> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line"> </tt>
<a name="Link.del_freespeed"></a><div id="Link.del_freespeed-def"><a name="L111"></a><tt class="py-lineno">111</tt> <a class="py-toggle" href="#" id="Link.del_freespeed-toggle" onclick="return toggle('Link.del_freespeed');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#del_freespeed">del_freespeed</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.del_freespeed-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.del_freespeed-expanded"><a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__freespeed</tt> </tt>
</div><a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line"> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">                 </tt>
<a name="Link.get_id"></a><div id="Link.get_id-def"><a name="L115"></a><tt class="py-lineno">115</tt> <a class="py-toggle" href="#" id="Link.get_id-toggle" onclick="return toggle('Link.get_id');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#get_id">get_id</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.get_id-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.get_id-expanded"><a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__id</tt> </tt>
</div><a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line"> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line"> </tt>
<a name="Link.get_direction"></a><div id="Link.get_direction-def"><a name="L119"></a><tt class="py-lineno">119</tt> <a class="py-toggle" href="#" id="Link.get_direction-toggle" onclick="return toggle('Link.get_direction');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#get_direction">get_direction</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.get_direction-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.get_direction-expanded"><a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__direction</tt> </tt>
</div><a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line"> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line"> </tt>
<a name="Link.get_length"></a><div id="Link.get_length-def"><a name="L123"></a><tt class="py-lineno">123</tt> <a class="py-toggle" href="#" id="Link.get_length-toggle" onclick="return toggle('Link.get_length');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#get_length">get_length</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.get_length-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.get_length-expanded"><a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__length</tt> </tt>
</div><a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line"> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line"> </tt>
<a name="Link.get_name"></a><div id="Link.get_name-def"><a name="L127"></a><tt class="py-lineno">127</tt> <a class="py-toggle" href="#" id="Link.get_name-toggle" onclick="return toggle('Link.get_name');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#get_name">get_name</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.get_name-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.get_name-expanded"><a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__name</tt> </tt>
</div><a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line"> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line"> </tt>
<a name="Link.get_frc"></a><div id="Link.get_frc-def"><a name="L131"></a><tt class="py-lineno">131</tt> <a class="py-toggle" href="#" id="Link.get_frc-toggle" onclick="return toggle('Link.get_frc');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#get_frc">get_frc</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.get_frc-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.get_frc-expanded"><a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__frc</tt> </tt>
</div><a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line"> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line"> </tt>
<a name="Link.set_id"></a><div id="Link.set_id-def"><a name="L135"></a><tt class="py-lineno">135</tt> <a class="py-toggle" href="#" id="Link.set_id-toggle" onclick="return toggle('Link.set_id');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#set_id">set_id</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.set_id-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.set_id-expanded"><a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__id</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line"> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line"> </tt>
<a name="Link.set_direction"></a><div id="Link.set_direction-def"><a name="L139"></a><tt class="py-lineno">139</tt> <a class="py-toggle" href="#" id="Link.set_direction-toggle" onclick="return toggle('Link.set_direction');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#set_direction">set_direction</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.set_direction-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.set_direction-expanded"><a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__direction</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line"> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line"> </tt>
<a name="Link.set_length"></a><div id="Link.set_length-def"><a name="L143"></a><tt class="py-lineno">143</tt> <a class="py-toggle" href="#" id="Link.set_length-toggle" onclick="return toggle('Link.set_length');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#set_length">set_length</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.set_length-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.set_length-expanded"><a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__length</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line"> </tt>
<a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line"> </tt>
<a name="Link.set_name"></a><div id="Link.set_name-def"><a name="L147"></a><tt class="py-lineno">147</tt> <a class="py-toggle" href="#" id="Link.set_name-toggle" onclick="return toggle('Link.set_name');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#set_name">set_name</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.set_name-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.set_name-expanded"><a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__name</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line"> </tt>
<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line"> </tt>
<a name="Link.set_frc"></a><div id="Link.set_frc-def"><a name="L151"></a><tt class="py-lineno">151</tt> <a class="py-toggle" href="#" id="Link.set_frc-toggle" onclick="return toggle('Link.set_frc');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#set_frc">set_frc</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.set_frc-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.set_frc-expanded"><a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__frc</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
</div><a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line"> </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line"> </tt>
<a name="Link.del_id"></a><div id="Link.del_id-def"><a name="L155"></a><tt class="py-lineno">155</tt> <a class="py-toggle" href="#" id="Link.del_id-toggle" onclick="return toggle('Link.del_id');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#del_id">del_id</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.del_id-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.del_id-expanded"><a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__id</tt> </tt>
</div><a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line"> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line"> </tt>
<a name="Link.del_direction"></a><div id="Link.del_direction-def"><a name="L159"></a><tt class="py-lineno">159</tt> <a class="py-toggle" href="#" id="Link.del_direction-toggle" onclick="return toggle('Link.del_direction');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#del_direction">del_direction</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.del_direction-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.del_direction-expanded"><a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__direction</tt> </tt>
</div><a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line"> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line"> </tt>
<a name="Link.del_length"></a><div id="Link.del_length-def"><a name="L163"></a><tt class="py-lineno">163</tt> <a class="py-toggle" href="#" id="Link.del_length-toggle" onclick="return toggle('Link.del_length');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#del_length">del_length</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.del_length-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.del_length-expanded"><a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__length</tt> </tt>
</div><a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line"> </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line"> </tt>
<a name="Link.del_name"></a><div id="Link.del_name-def"><a name="L167"></a><tt class="py-lineno">167</tt> <a class="py-toggle" href="#" id="Link.del_name-toggle" onclick="return toggle('Link.del_name');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#del_name">del_name</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.del_name-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.del_name-expanded"><a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__name</tt> </tt>
</div><a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line"> </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line"> </tt>
<a name="Link.del_frc"></a><div id="Link.del_frc-def"><a name="L171"></a><tt class="py-lineno">171</tt> <a class="py-toggle" href="#" id="Link.del_frc-toggle" onclick="return toggle('Link.del_frc');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#del_frc">del_frc</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.del_frc-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.del_frc-expanded"><a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__frc</tt> </tt>
</div><a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line">         </tt>
<a name="Link.__str__"></a><div id="Link.__str__-def"><a name="L174"></a><tt class="py-lineno">174</tt> <a class="py-toggle" href="#" id="Link.__str__-toggle" onclick="return toggle('Link.__str__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.__str__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.__str__-expanded"><a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__id</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-op">(</tt><tt class="py-string">"FT"</tt> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__direction</tt> <tt class="py-keyword">else</tt> <tt class="py-string">"TF"</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">" l="</tt><tt class="py-op">+</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__length</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">" m"</tt> </tt>
</div><a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">     </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line">     </tt>
<a name="Link.plot"></a><div id="Link.plot-def"><a name="L178"></a><tt class="py-lineno">178</tt> <a class="py-toggle" href="#" id="Link.plot-toggle" onclick="return toggle('Link.plot');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.datastructure.link.Link-class.html#plot">plot</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">plotobject</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Link.plot-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Link.plot-expanded"><a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line"><tt class="py-docstring">        plots the data (reference, records and timeseries) of the link</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line"><tt class="py-docstring">        @param link: link for plotting data </tt> </tt>
<a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line">         </tt>
<a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line">        <tt class="py-name">linkname</tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__id</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"("</tt><tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__direction</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">")"</tt> </tt>
<a name="L186"></a><tt class="py-lineno">186</tt>  <tt class="py-line">        <tt class="py-name">exportname</tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__id</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"_"</tt><tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__direction</tt><tt class="py-op">)</tt> </tt>
<a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line">         </tt>
<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__reference</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name" targets="Method src.datastructure.interval_list.Interval_list.plot()=src.datastructure.interval_list.Interval_list-class.html#plot,Method src.datastructure.link.Link.plot()=src.datastructure.link.Link-class.html#plot,Method src.datastructure.linkset.Linkset.plot()=src.datastructure.linkset.Linkset-class.html#plot,Method src.datastructure.record_list.Record_list.plot()=src.datastructure.record_list.Record_list-class.html#plot,Module src.output.plot=src.output.plot-module.html,Method src.output.plot.Plot.plot()=src.output.plot.Plot-class.html#plot,Method src.processing.indicator.Indicator.plot()=src.processing.indicator.Indicator-class.html#plot,Method src.processing.network_completeness.Network_completeness.plot()=src.processing.network_completeness.Network_completeness-class.html#plot,Method src.processing.planning_time.Planning_time.plot()=src.processing.planning_time.Planning_time-class.html#plot,Method src.processing.total_correlation_coefficient.Total_correlation_coefficient.plot()=src.processing.total_correlation_coefficient.Total_correlation_coefficient-class.html#plot,Method src.processing.total_mean_error.Total_mean_error.plot()=src.processing.total_mean_error.Total_mean_error-class.html#plot,Method src.processing.total_mean_squared_error.Total_mean_squared_error.plot()=src.processing.total_mean_squared_error.Total_mean_squared_error-class.html#plot"><a title="src.datastructure.interval_list.Interval_list.plot
src.datastructure.link.Link.plot
src.datastructure.linkset.Linkset.plot
src.datastructure.record_list.Record_list.plot
src.output.plot
src.output.plot.Plot.plot
src.processing.indicator.Indicator.plot
src.processing.network_completeness.Network_completeness.plot
src.processing.planning_time.Planning_time.plot
src.processing.total_correlation_coefficient.Total_correlation_coefficient.plot
src.processing.total_mean_error.Total_mean_error.plot
src.processing.total_mean_squared_error.Total_mean_squared_error.plot" class="py-name" href="#" onclick="return doclink('link-33', 'plot', 'link-33');">plot</a></tt><tt class="py-op">(</tt><tt class="py-name">plotobject</tt><tt class="py-op">,</tt> <tt id="link-34" class="py-name"><a title="src.datastructure.link.Link.name
src.datastructure.record_list.Record_list.name
src.processing.indicator.Indicator.name" class="py-name" href="#" onclick="return doclink('link-34', 'name', 'link-8');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"reference "</tt> <tt class="py-op">+</tt> <tt class="py-name">linkname</tt><tt class="py-op">,</tt> <tt class="py-name">exp_name</tt> <tt class="py-op">=</tt> <tt class="py-string">"ref_"</tt> <tt class="py-op">+</tt> <tt class="py-name">exportname</tt><tt class="py-op">)</tt> </tt>
<a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__timeseries</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name"><a title="src.datastructure.interval_list.Interval_list.plot
src.datastructure.link.Link.plot
src.datastructure.linkset.Linkset.plot
src.datastructure.record_list.Record_list.plot
src.output.plot
src.output.plot.Plot.plot
src.processing.indicator.Indicator.plot
src.processing.network_completeness.Network_completeness.plot
src.processing.planning_time.Planning_time.plot
src.processing.total_correlation_coefficient.Total_correlation_coefficient.plot
src.processing.total_mean_error.Total_mean_error.plot
src.processing.total_mean_squared_error.Total_mean_squared_error.plot" class="py-name" href="#" onclick="return doclink('link-35', 'plot', 'link-33');">plot</a></tt><tt class="py-op">(</tt><tt class="py-name">plotobject</tt><tt class="py-op">,</tt> <tt id="link-36" class="py-name"><a title="src.datastructure.link.Link.name
src.datastructure.record_list.Record_list.name
src.processing.indicator.Indicator.name" class="py-name" href="#" onclick="return doclink('link-36', 'name', 'link-8');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"timeseries "</tt> <tt class="py-op">+</tt> <tt class="py-name">linkname</tt><tt class="py-op">,</tt> <tt class="py-name">exp_name</tt> <tt class="py-op">=</tt>  <tt class="py-string">"ts_"</tt> <tt class="py-op">+</tt> <tt class="py-name">exportname</tt><tt class="py-op">)</tt> </tt>
<a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__records</tt><tt class="py-op">.</tt><tt id="link-37" class="py-name"><a title="src.datastructure.interval_list.Interval_list.plot
src.datastructure.link.Link.plot
src.datastructure.linkset.Linkset.plot
src.datastructure.record_list.Record_list.plot
src.output.plot
src.output.plot.Plot.plot
src.processing.indicator.Indicator.plot
src.processing.network_completeness.Network_completeness.plot
src.processing.planning_time.Planning_time.plot
src.processing.total_correlation_coefficient.Total_correlation_coefficient.plot
src.processing.total_mean_error.Total_mean_error.plot
src.processing.total_mean_squared_error.Total_mean_squared_error.plot" class="py-name" href="#" onclick="return doclink('link-37', 'plot', 'link-33');">plot</a></tt><tt class="py-op">(</tt><tt class="py-name">plotobject</tt><tt class="py-op">,</tt> <tt id="link-38" class="py-name"><a title="src.datastructure.link.Link.name
src.datastructure.record_list.Record_list.name
src.processing.indicator.Indicator.name" class="py-name" href="#" onclick="return doclink('link-38', 'name', 'link-8');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"records "</tt> <tt class="py-op">+</tt> <tt class="py-name">linkname</tt><tt class="py-op">,</tt> <tt class="py-name">exp_name</tt> <tt class="py-op">=</tt> <tt class="py-string">"rec_"</tt> <tt class="py-op">+</tt> <tt class="py-name">exportname</tt><tt class="py-op">)</tt> </tt>
</div><a name="L191"></a><tt class="py-lineno">191</tt>  <tt class="py-line">    </tt>
<a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line">     </tt>
<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line">    <tt class="py-comment">#--------------assign properties using get and set-methods-----------------</tt> </tt>
<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line"> </tt>
<a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line">    <tt class="py-comment"># static properties from the db</tt> </tt>
<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line">    <tt id="link-39" class="py-name"><a title="src.datastructure.link.Link.id" class="py-name" href="#" onclick="return doclink('link-39', 'id', 'link-2');">id</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-40" class="py-name" targets="Method src.datastructure.link.Link.get_id()=src.datastructure.link.Link-class.html#get_id"><a title="src.datastructure.link.Link.get_id" class="py-name" href="#" onclick="return doclink('link-40', 'get_id', 'link-40');">get_id</a></tt><tt class="py-op">,</tt> <tt id="link-41" class="py-name" targets="Method src.datastructure.link.Link.set_id()=src.datastructure.link.Link-class.html#set_id"><a title="src.datastructure.link.Link.set_id" class="py-name" href="#" onclick="return doclink('link-41', 'set_id', 'link-41');">set_id</a></tt><tt class="py-op">,</tt> <tt id="link-42" class="py-name" targets="Method src.datastructure.link.Link.del_id()=src.datastructure.link.Link-class.html#del_id"><a title="src.datastructure.link.Link.del_id" class="py-name" href="#" onclick="return doclink('link-42', 'del_id', 'link-42');">del_id</a></tt><tt class="py-op">,</tt> <tt class="py-string">"(numeric) id of the link (e.g. Tele Atlas link id)"</tt><tt class="py-op">)</tt> </tt>
<a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line">    <tt id="link-43" class="py-name"><a title="src.datastructure.link.Link.direction" class="py-name" href="#" onclick="return doclink('link-43', 'direction', 'link-4');">direction</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-44" class="py-name" targets="Method src.datastructure.link.Link.get_direction()=src.datastructure.link.Link-class.html#get_direction"><a title="src.datastructure.link.Link.get_direction" class="py-name" href="#" onclick="return doclink('link-44', 'get_direction', 'link-44');">get_direction</a></tt><tt class="py-op">,</tt> <tt id="link-45" class="py-name" targets="Method src.datastructure.link.Link.set_direction()=src.datastructure.link.Link-class.html#set_direction"><a title="src.datastructure.link.Link.set_direction" class="py-name" href="#" onclick="return doclink('link-45', 'set_direction', 'link-45');">set_direction</a></tt><tt class="py-op">,</tt> <tt id="link-46" class="py-name" targets="Method src.datastructure.link.Link.del_direction()=src.datastructure.link.Link-class.html#del_direction"><a title="src.datastructure.link.Link.del_direction" class="py-name" href="#" onclick="return doclink('link-46', 'del_direction', 'link-46');">del_direction</a></tt><tt class="py-op">,</tt> <tt class="py-string">"direction of the link - True = FT/From-To, False = TF/To-From"</tt><tt class="py-op">)</tt> </tt>
<a name="L198"></a><tt class="py-lineno">198</tt>  <tt class="py-line">    <tt id="link-47" class="py-name"><a title="src.datastructure.link.Link.length
src.datastructure.linkset.Linkset.length" class="py-name" href="#" onclick="return doclink('link-47', 'length', 'link-6');">length</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-48" class="py-name" targets="Method src.datastructure.link.Link.get_length()=src.datastructure.link.Link-class.html#get_length,Method src.datastructure.linkset.Linkset.get_length()=src.datastructure.linkset.Linkset-class.html#get_length"><a title="src.datastructure.link.Link.get_length
src.datastructure.linkset.Linkset.get_length" class="py-name" href="#" onclick="return doclink('link-48', 'get_length', 'link-48');">get_length</a></tt><tt class="py-op">,</tt> <tt id="link-49" class="py-name" targets="Method src.datastructure.link.Link.set_length()=src.datastructure.link.Link-class.html#set_length"><a title="src.datastructure.link.Link.set_length" class="py-name" href="#" onclick="return doclink('link-49', 'set_length', 'link-49');">set_length</a></tt><tt class="py-op">,</tt> <tt id="link-50" class="py-name" targets="Method src.datastructure.link.Link.del_length()=src.datastructure.link.Link-class.html#del_length"><a title="src.datastructure.link.Link.del_length" class="py-name" href="#" onclick="return doclink('link-50', 'del_length', 'link-50');">del_length</a></tt><tt class="py-op">,</tt> <tt class="py-string">"length of the link in meters"</tt><tt class="py-op">)</tt> </tt>
<a name="L199"></a><tt class="py-lineno">199</tt>  <tt class="py-line">    <tt id="link-51" class="py-name"><a title="src.datastructure.link.Link.name
src.datastructure.record_list.Record_list.name
src.processing.indicator.Indicator.name" class="py-name" href="#" onclick="return doclink('link-51', 'name', 'link-8');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-52" class="py-name" targets="Method src.datastructure.link.Link.get_name()=src.datastructure.link.Link-class.html#get_name,Method src.datastructure.record_list.Record_list.get_name()=src.datastructure.record_list.Record_list-class.html#get_name,Method src.processing.indicator.Indicator.get_name()=src.processing.indicator.Indicator-class.html#get_name"><a title="src.datastructure.link.Link.get_name
src.datastructure.record_list.Record_list.get_name
src.processing.indicator.Indicator.get_name" class="py-name" href="#" onclick="return doclink('link-52', 'get_name', 'link-52');">get_name</a></tt><tt class="py-op">,</tt> <tt id="link-53" class="py-name" targets="Method src.datastructure.link.Link.set_name()=src.datastructure.link.Link-class.html#set_name,Method src.datastructure.record_list.Record_list.set_name()=src.datastructure.record_list.Record_list-class.html#set_name"><a title="src.datastructure.link.Link.set_name
src.datastructure.record_list.Record_list.set_name" class="py-name" href="#" onclick="return doclink('link-53', 'set_name', 'link-53');">set_name</a></tt><tt class="py-op">,</tt> <tt id="link-54" class="py-name" targets="Method src.datastructure.link.Link.del_name()=src.datastructure.link.Link-class.html#del_name,Method src.datastructure.record_list.Record_list.del_name()=src.datastructure.record_list.Record_list-class.html#del_name"><a title="src.datastructure.link.Link.del_name
src.datastructure.record_list.Record_list.del_name" class="py-name" href="#" onclick="return doclink('link-54', 'del_name', 'link-54');">del_name</a></tt><tt class="py-op">,</tt> <tt class="py-string">"name or description of the link (e.g. Giefinggasse)"</tt><tt class="py-op">)</tt> </tt>
<a name="L200"></a><tt class="py-lineno">200</tt>  <tt class="py-line">    <tt id="link-55" class="py-name"><a title="src.datastructure.link.Link.frc" class="py-name" href="#" onclick="return doclink('link-55', 'frc', 'link-10');">frc</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-56" class="py-name" targets="Method src.datastructure.link.Link.get_frc()=src.datastructure.link.Link-class.html#get_frc"><a title="src.datastructure.link.Link.get_frc" class="py-name" href="#" onclick="return doclink('link-56', 'get_frc', 'link-56');">get_frc</a></tt><tt class="py-op">,</tt> <tt id="link-57" class="py-name" targets="Method src.datastructure.link.Link.set_frc()=src.datastructure.link.Link-class.html#set_frc"><a title="src.datastructure.link.Link.set_frc" class="py-name" href="#" onclick="return doclink('link-57', 'set_frc', 'link-57');">set_frc</a></tt><tt class="py-op">,</tt> <tt id="link-58" class="py-name" targets="Method src.datastructure.link.Link.del_frc()=src.datastructure.link.Link-class.html#del_frc"><a title="src.datastructure.link.Link.del_frc" class="py-name" href="#" onclick="return doclink('link-58', 'del_frc', 'link-58');">del_frc</a></tt><tt class="py-op">,</tt> <tt class="py-string">"frc = functional road class (see Tele Atlas documentation for more information)"</tt><tt class="py-op">)</tt>     </tt>
<a name="L201"></a><tt class="py-lineno">201</tt>  <tt class="py-line">    <tt id="link-59" class="py-name"><a title="src.datastructure.link.Link.freespeed" class="py-name" href="#" onclick="return doclink('link-59', 'freespeed', 'link-12');">freespeed</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-60" class="py-name" targets="Method src.datastructure.link.Link.get_freespeed()=src.datastructure.link.Link-class.html#get_freespeed"><a title="src.datastructure.link.Link.get_freespeed" class="py-name" href="#" onclick="return doclink('link-60', 'get_freespeed', 'link-60');">get_freespeed</a></tt><tt class="py-op">,</tt> <tt id="link-61" class="py-name" targets="Method src.datastructure.link.Link.set_freespeed()=src.datastructure.link.Link-class.html#set_freespeed"><a title="src.datastructure.link.Link.set_freespeed" class="py-name" href="#" onclick="return doclink('link-61', 'set_freespeed', 'link-61');">set_freespeed</a></tt><tt class="py-op">,</tt> <tt id="link-62" class="py-name" targets="Method src.datastructure.link.Link.del_freespeed()=src.datastructure.link.Link-class.html#del_freespeed"><a title="src.datastructure.link.Link.del_freespeed" class="py-name" href="#" onclick="return doclink('link-62', 'del_freespeed', 'link-62');">del_freespeed</a></tt><tt class="py-op">,</tt> <tt class="py-string">"free-flow speed at this link"</tt><tt class="py-op">)</tt> </tt>
<a name="L202"></a><tt class="py-lineno">202</tt>  <tt class="py-line">    <tt id="link-63" class="py-name" targets="Variable src.datastructure.link.Link.freett=src.datastructure.link.Link-class.html#freett"><a title="src.datastructure.link.Link.freett" class="py-name" href="#" onclick="return doclink('link-63', 'freett', 'link-63');">freett</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-64" class="py-name" targets="Method src.datastructure.link.Link.get_freett()=src.datastructure.link.Link-class.html#get_freett"><a title="src.datastructure.link.Link.get_freett" class="py-name" href="#" onclick="return doclink('link-64', 'get_freett', 'link-64');">get_freett</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"free flow travel time"</tt><tt class="py-op">)</tt> </tt>
<a name="L203"></a><tt class="py-lineno">203</tt>  <tt class="py-line">     </tt>
<a name="L204"></a><tt class="py-lineno">204</tt>  <tt class="py-line">    <tt class="py-comment"># aggregated data</tt> </tt>
<a name="L205"></a><tt class="py-lineno">205</tt>  <tt class="py-line">    <tt id="link-65" class="py-name"><a title="src.datastructure.link.Link.records" class="py-name" href="#" onclick="return doclink('link-65', 'records', 'link-16');">records</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-66" class="py-name" targets="Method src.datastructure.link.Link.get_records()=src.datastructure.link.Link-class.html#get_records"><a title="src.datastructure.link.Link.get_records" class="py-name" href="#" onclick="return doclink('link-66', 'get_records', 'link-66');">get_records</a></tt><tt class="py-op">,</tt> <tt id="link-67" class="py-name" targets="Method src.datastructure.link.Link.set_records()=src.datastructure.link.Link-class.html#set_records"><a title="src.datastructure.link.Link.set_records" class="py-name" href="#" onclick="return doclink('link-67', 'set_records', 'link-67');">set_records</a></tt><tt class="py-op">,</tt> <tt id="link-68" class="py-name" targets="Method src.datastructure.link.Link.del_records()=src.datastructure.link.Link-class.html#del_records"><a title="src.datastructure.link.Link.del_records" class="py-name" href="#" onclick="return doclink('link-68', 'del_records', 'link-68');">del_records</a></tt><tt class="py-op">,</tt> <tt class="py-string">"regular fleet data for this link (as Record_list-object)"</tt><tt class="py-op">)</tt> </tt>
<a name="L206"></a><tt class="py-lineno">206</tt>  <tt class="py-line">    <tt id="link-69" class="py-name"><a title="src.datastructure.link.Link.reference" class="py-name" href="#" onclick="return doclink('link-69', 'reference', 'link-21');">reference</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-70" class="py-name" targets="Method src.datastructure.link.Link.get_reference()=src.datastructure.link.Link-class.html#get_reference"><a title="src.datastructure.link.Link.get_reference" class="py-name" href="#" onclick="return doclink('link-70', 'get_reference', 'link-70');">get_reference</a></tt><tt class="py-op">,</tt> <tt id="link-71" class="py-name" targets="Method src.datastructure.link.Link.set_reference()=src.datastructure.link.Link-class.html#set_reference"><a title="src.datastructure.link.Link.set_reference" class="py-name" href="#" onclick="return doclink('link-71', 'set_reference', 'link-71');">set_reference</a></tt><tt class="py-op">,</tt> <tt id="link-72" class="py-name" targets="Method src.datastructure.link.Link.del_reference()=src.datastructure.link.Link-class.html#del_reference"><a title="src.datastructure.link.Link.del_reference" class="py-name" href="#" onclick="return doclink('link-72', 'del_reference', 'link-72');">del_reference</a></tt><tt class="py-op">,</tt> <tt class="py-string">"reference data for this link (as Record_list-object)"</tt><tt class="py-op">)</tt> </tt>
<a name="L207"></a><tt class="py-lineno">207</tt>  <tt class="py-line">    <tt id="link-73" class="py-name"><a title="src.datastructure.link.Link.timeseries" class="py-name" href="#" onclick="return doclink('link-73', 'timeseries', 'link-26');">timeseries</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-74" class="py-name" targets="Method src.datastructure.link.Link.get_timeseries()=src.datastructure.link.Link-class.html#get_timeseries"><a title="src.datastructure.link.Link.get_timeseries" class="py-name" href="#" onclick="return doclink('link-74', 'get_timeseries', 'link-74');">get_timeseries</a></tt><tt class="py-op">,</tt> <tt id="link-75" class="py-name" targets="Method src.datastructure.link.Link.set_timeseries()=src.datastructure.link.Link-class.html#set_timeseries"><a title="src.datastructure.link.Link.set_timeseries" class="py-name" href="#" onclick="return doclink('link-75', 'set_timeseries', 'link-75');">set_timeseries</a></tt><tt class="py-op">,</tt> <tt id="link-76" class="py-name" targets="Method src.datastructure.link.Link.del_timeseries()=src.datastructure.link.Link-class.html#del_timeseries"><a title="src.datastructure.link.Link.del_timeseries" class="py-name" href="#" onclick="return doclink('link-76', 'del_timeseries', 'link-76');">del_timeseries</a></tt><tt class="py-op">,</tt> <tt class="py-string">"timeseries containing std for one day (as Record_list-object)"</tt><tt class="py-op">)</tt> </tt>
<a name="L208"></a><tt class="py-lineno">208</tt>  <tt class="py-line">    <tt id="link-77" class="py-name"><a title="src.datastructure.agg_record.Agg_record.is_kph
src.datastructure.link.Link.is_kph
src.datastructure.record_list.Record_list.is_kph" class="py-name" href="#" onclick="return doclink('link-77', 'is_kph', 'link-14');">is_kph</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-78" class="py-name" targets="Method src.datastructure.agg_record.Agg_record.get_is_kph()=src.datastructure.agg_record.Agg_record-class.html#get_is_kph,Method src.datastructure.link.Link.get_is_kph()=src.datastructure.link.Link-class.html#get_is_kph,Method src.datastructure.record_list.Record_list.get_is_kph()=src.datastructure.record_list.Record_list-class.html#get_is_kph"><a title="src.datastructure.agg_record.Agg_record.get_is_kph
src.datastructure.link.Link.get_is_kph
src.datastructure.record_list.Record_list.get_is_kph" class="py-name" href="#" onclick="return doclink('link-78', 'get_is_kph', 'link-78');">get_is_kph</a></tt><tt class="py-op">,</tt> <tt id="link-79" class="py-name" targets="Method src.datastructure.agg_record.Agg_record.set_is_kph()=src.datastructure.agg_record.Agg_record-class.html#set_is_kph,Method src.datastructure.link.Link.set_is_kph()=src.datastructure.link.Link-class.html#set_is_kph"><a title="src.datastructure.agg_record.Agg_record.set_is_kph
src.datastructure.link.Link.set_is_kph" class="py-name" href="#" onclick="return doclink('link-79', 'set_is_kph', 'link-79');">set_is_kph</a></tt><tt class="py-op">,</tt> <tt id="link-80" class="py-name" targets="Method src.datastructure.agg_record.Agg_record.del_is_kph()=src.datastructure.agg_record.Agg_record-class.html#del_is_kph,Method src.datastructure.link.Link.del_is_kph()=src.datastructure.link.Link-class.html#del_is_kph"><a title="src.datastructure.agg_record.Agg_record.del_is_kph
src.datastructure.link.Link.del_is_kph" class="py-name" href="#" onclick="return doclink('link-80', 'del_is_kph', 'link-80');">del_is_kph</a></tt><tt class="py-op">,</tt> <tt class="py-string">"indicates whether speeds are in km/h (true) or m/s (false)"</tt><tt class="py-op">)</tt> </tt>
</div><a name="L209"></a><tt class="py-lineno">209</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="src-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >ttrq4fleet - Petrina Papazek</th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Thu Oct 25 19:15:44 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
